<ExtensionModel>

	<Runtime>
		<Import assembly="libstetic.dll"/>
		<Import file="libstetic.dll.config"/>
		<Import assembly="libsteticui.dll"/>
		<Import file="libsteticui.dll.config"/>
		<Import assembly="MonoDevelop.GtkCore.dll"/>
	</Runtime>

	<ExtensionPoint path = "/MonoDevelop/GtkCore/ContextMenu/ProjectPad.ActionGroup">
		<ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
	</ExtensionPoint>
	
	<ExtensionPoint path = "/MonoDevelop/GtkCore/ContextMenu/ProjectPad.UserInterfaceFolder">
		<ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
	</ExtensionPoint>
	
	<ExtensionPoint path = "/MonoDevelop/GtkCore/ContextMenu/ProjectPad.Component">
		<ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
	</ExtensionPoint>
	
	<ExtensionPoint path = "/MonoDevelop/GtkCore/ContextMenu/ProjectPad.StockIcons">
		<ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
	</ExtensionPoint>

	<Extension path = "/MonoDevelop/Ide/WorkbenchContexts/Edit">
		<ContextPad id = "MonoDevelop.GtkCore.GuiBuilder.GuiBuilderProjectPad" />
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/Pads/ProjectPad">
		<NodeBuilder class = "MonoDevelop.GtkCore.NodeBuilders.ProjectFolderNodeBuilderExtension"/>
		<NodeBuilder class = "MonoDevelop.GtkCore.NodeBuilders.ProjectNodeBuilder"/>
		<NodeBuilder class = "MonoDevelop.GtkCore.NodeBuilders.WidgetNodeBuilder"/>
		<NodeBuilder class = "MonoDevelop.GtkCore.NodeBuilders.WindowsFolderNodeBuilder"/>
		<NodeBuilder class = "MonoDevelop.GtkCore.NodeBuilders.ActionGroupNodeBuilder"/>
		<NodeBuilder class = "MonoDevelop.GtkCore.NodeBuilders.StockIconsNodeBuilder"/>
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/FileTemplates">
		<FileTemplate id = "DialogFileTemplate" resource = "Dialog.xft.xml"/>
		<FileTemplate id = "DrawingAreaFileTemplate" resource = "DrawingArea.xft.xml"/>
		<FileTemplate id = "WindowFileTemplate" resource = "Window.xft.xml"/>
		<FileTemplate id = "WidgetFileTemplate" resource = "Widget.xft.xml"/>
		<FileTemplate id = "ActionGroupFileTemplate" resource = "ActionGroup.xft.xml"/>
		<FileTemplate id = "PartialDialogFileTemplate" resource = "DialogPartial.xft.xml"/>
		<FileTemplate id = "PartialWindowFileTemplate" resource = "WindowPartial.xft.xml"/>
		<FileTemplate id = "PartialWidgetFileTemplate" resource = "WidgetPartial.xft.xml"/>
		<FileTemplate id = "PartialActionGroupFileTemplate" resource = "ActionGroupPartial.xft.xml"/>
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/Commands">
		<Category _name = "Designer (Gtk#)" id = "GtkCore">
		<Command id = "MonoDevelop.GtkCore.GtkCommands.AddNewDialog"
				icon = "md-gtkcore-dialog"
				_label = "New Dialog..." />
		<Command id = "MonoDevelop.GtkCore.GtkCommands.AddNewWindow"
				icon = "md-gtkcore-window"
				_label = "New Window..." />
		<Command id = "MonoDevelop.GtkCore.GtkCommands.AddNewWidget"
				icon = "md-gtkcore-widget"
				_label = "New Widget..." />
		<Command id = "MonoDevelop.GtkCore.GtkCommands.AddNewActionGroup"
				icon = "md-gtkcore-actiongroup"
				_label = "New Action Group..." />
		<Command id = "MonoDevelop.GtkCore.GtkCommands.ImportGladeFile"
				_label = "Import Glade file..." />
		<Command id = "MonoDevelop.GtkCore.GtkCommands.EditIcons"
				_label = "Edit Project Icons..." />
		<Command id = "MonoDevelop.GtkCore.GtkCommands.GtkSettings"
				_label = "GTK# Support Settings..." />
		</Category>
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/ContextMenu/ProjectPad/Add">
		<Condition id="ItemType" value="Project|ProjectFolder">
			<SeparatorItem insertafter = "MonoDevelop.Ide.Commands.ProjectCommands.AddFiles" />
			<CommandItem id = "MonoDevelop.GtkCore.GtkCommands.AddNewDialog" />
			<CommandItem id = "MonoDevelop.GtkCore.GtkCommands.AddNewWindow" />
			<CommandItem id = "MonoDevelop.GtkCore.GtkCommands.AddNewWidget" />
			<CommandItem id = "MonoDevelop.GtkCore.GtkCommands.AddNewActionGroup" />
		</Condition>
	</Extension>
	
	<Extension path = "/MonoDevelop/GtkCore/ContextMenu/ProjectPad.UserInterfaceFolder">
		<CommandItem id = "MonoDevelop.GtkCore.GtkCommands.AddNewDialog" />
		<CommandItem id = "MonoDevelop.GtkCore.GtkCommands.AddNewWindow" />
		<CommandItem id = "MonoDevelop.GtkCore.GtkCommands.AddNewWidget" />
		<CommandItem id = "MonoDevelop.GtkCore.GtkCommands.AddNewActionGroup" />
		<SeparatorItem />
		<CommandItem id = "MonoDevelop.GtkCore.GtkCommands.EditIcons" />
		<CommandItem id = "MonoDevelop.GtkCore.GtkCommands.ImportGladeFile" />
		<SeparatorItem />
		<CommandItem id = "MonoDevelop.GtkCore.GtkCommands.GtkSettings" />
	</Extension>
	
	<Extension path = "/MonoDevelop/GtkCore/ContextMenu/ProjectPad.Component">
		<CommandItem id = "MonoDevelop.Ide.Commands.ViewCommands.Open" />
		<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Delete" />
	</Extension>
	
	<Extension path = "/MonoDevelop/GtkCore/ContextMenu/ProjectPad.ActionGroup">
		<CommandItem id = "MonoDevelop.Ide.Commands.ViewCommands.Open" />
		<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Delete" />
	</Extension>
	
	<Extension path = "/MonoDevelop/GtkCore/ContextMenu/ProjectPad.StockIcons">
		<CommandItem id = "MonoDevelop.GtkCore.GtkCommands.EditIcons" />
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/StartupHandlers">
		<Class class="MonoDevelop.GtkCore.GtkCoreStartupCommand" />
	</Extension>
	
	<Extension path = "/MonoDevelop/ProjectModel/Gui/ItemOptionPanels/Common">
		<Condition id="ItemType" value ="DotNetProject">
			<Section id = "SteticOptionsPanel"
			             _label = "GTK# Settings"
			             fill="true"
			             class = "MonoDevelop.GtkCore.Dialogs.WidgetBuilderOptionPanel"/>
		</Condition>
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/FileTemplateTypes">
		<FileTemplateType name = "Widget" class = "MonoDevelop.GtkCore.WidgetFileDescriptionTemplate"/>
	</Extension>
	
	<Extension path = "/MonoDevelop/Core/StockIcons">
		<StockIcon stockid = "md-gtkcore-window" resource = "window.png" />
		<StockIcon stockid = "md-gtkcore-dialog" resource = "dialog.png" />
		<StockIcon stockid = "md-gtkcore-widget" resource = "widget.png" />
		<StockIcon stockid = "md-gtkcore-actiongroup" resource = "actiongroup.png" />
	</Extension>
	
	<Extension path = "/MonoDevelop/ProjectModel/ProjectModelExtensions">
		<Class class = "MonoDevelop.GtkCore.GuiBuilder.GtkProjectServiceExtension"  insertafter="MidStep"/>
	</Extension>
	
	<Extension path = "/MonoDevelop/DesignerSupport/ToolboxProviders">
		<Class class = "MonoDevelop.GtkCore.GuiBuilder.ToolboxProvider" />
	</Extension>
	
	<Extension path = "/MonoDevelop/DesignerSupport/ToolboxLoaders">
		<Class id="ToolboxItemLoader" class="MonoDevelop.GtkCore.GuiBuilder.ToolboxLoader"/>
	</Extension>
	
	<Extension path = "/MonoDevelop/ProjectModel/SerializableClasses">
		<DataType class = "MonoDevelop.GtkCore.GuiBuilder.ComponentToolboxNode" />
	</Extension>

	<Extension path = "/MonoDevelop/Ide/GlobalOptionsDialog/Projects">
		<Panel _label = "GTK# Designer" class = "MonoDevelop.GtkCore.Dialogs.GtkDesignerOptionPanel" />
	</Extension>

</ExtensionModel>
